package com.athena.crm.domain.bo;

import com.athena.common.core.validate.AddGroup;
import com.athena.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.athena.common.core.domain.BaseEntity;

/**
 * 用户解锁企业记录业务对象 t_unlock_record
 *
 * @author ruoyi
 * @date 2023-06-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TUnlockRecordBo extends BaseEntity {

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 用户id
     */
    @NotNull(message = "用户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 解锁批次
     */
    @NotBlank(message = "解锁批次不能为空", groups = { AddGroup.class, EditGroup.class })
    private String batchNo;

    /**
     * 解锁公司id
     */
    @NotBlank(message = "解锁公司id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String comId;

    /**
     * 是否导出：0未导出，1已导出
     */
    @NotNull(message = "是否导出：0未导出，1已导出不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer isDown;

    /**
     * 导出时间
     */
    @NotNull(message = "导出时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date downTime;


}
